#!/bin/bash
#求和求平均
sum=0
for n in $@
do
	((sum+=n))
	echo $n
done
echo $sum
p=$((sum/$#))
echo $p

function 
